<?php

class Base
{
    public $a;
    
    public function __construct()
    {
        $this->a = 1;
    }
}

class Derived extends Base
{
}

$num = 0;
for ($i = 0; $i < 1000000; $i++) {
    $obj = new Derived();
    $num += $obj->a;
}

echo "{$num}\n";
